#include <iostream>

using namespace std;

template<typename R, typename T, typename U>
R add(T x, U y)
{
    return x+y;
}

int main()
{
    cout << add<int, int, int>(1, 3) << endl;

    return 0;
}